package com.buddha.api.mapper;

import com.buddha.api.entity.Brand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mybatis-plus
 * @since 2023-07-06
 */
@Mapper
public interface BrandMapper extends BaseMapper<Brand> {

    @Select("select * from brand limit 6")
    List<Brand> getPart();
}
